package com.liyiqing.secondhandmall.productservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liyiqing.commonservice.utils.PageUtils;
import com.liyiqing.commonservice.utils.R;
import com.liyiqing.commonservice.vo.ProductDetailVo;
import com.liyiqing.commonservice.vo.ProductShowVo;
import com.liyiqing.secondhandmall.productservice.entity.ProductSpuInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * spu商品信息
 *
 * @author LiYiQing
 * @email 1570865668@qq.com
 * @date 2022-02-18 23:36:20
 */
public interface ProductSpuInfoService extends IService<ProductSpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R selectAllProduct();


    ProductDetailVo selectProductDetailVoById(Long id);

    ProductShowVo selectProductShowVoById(Long id);

    R selectProductByMemberId(Long memberId);

    R selectProductByGroupId(Long groupId);

    R selectProductLikeKeyword(String keyword);
}

